'''
Created on Nov 25, 2013

@author: Ari
'''
class Betting:

    def __init__(self, bet = 5, pot = 0, AgentMoney = 100):
        self.bet = bet
        self.pot = pot
        self.AgentMoney = AgentMoney

    def win(self):
        self.AgentMoney += self.pot * 2
        self.pot = 0

    def push(self):
        self.AgentMoney += self.pot
        self.pot = 0

    def lose(self):
        self.pot = 0

    def placeBet(self):
        self.AgentMoney -= self.bet
        self.pot += self.bet

